﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Main.aspx.cs" Inherits="Manager_Main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" AjaxLoadingType="Mask" AutoSizePanelID="rpMain" />
        <ext:RegionPanel ID="rpMain" runat="server" ShowBorder="false">
            <Regions>
                <ext:Region ID="rTop" runat="server" Position="Top" Height="30" EnableBackgroundColor="true"
                    ShowHeader="false" ShowBorder="false">
                    <Toolbars>
                        <ext:Toolbar ID="tbTopMenu" runat="server">
                            <Items>
                                <ext:ToolbarText ID="tblbWebName" runat="server" Text="《站点名称》--后台管理系统">
                                </ext:ToolbarText>
                                <ext:ToolbarFill ID="ToolbarFill1" runat="server">
                                </ext:ToolbarFill>
                                <ext:Button ID="btnChangePwd" runat="server" Text="修改登录密码" Icon="ServerEdit" OnClick="btnChangePwd_Click">
                                </ext:Button>
                                <ext:Button ID="btnLogout" runat="server" Text="安全退出" Icon="doorout" ConfirmText="确定退出？"
                                    ConfirmTitle="系统提示" OnClick="btnLogout_Click">
                                </ext:Button>
                            </Items>
                        </ext:Toolbar>
                    </Toolbars>
                </ext:Region>
                <ext:Region ID="rLeftMenu" runat="server" Position="left" EnableBackgroundColor="true" Layout="fit"
                    ShowHeader="true" Split="true" EnableCollapse="true" Title="系统菜单" Width="200px">
                    <Items>
                        <ext:Tree ID="trLeftMenu" ShowBorder="false" runat="server" AutoScroll="true" EnableAjaxLoading="true"
                            EnableArrows="false" Title="系统菜单" EnableLines="true" ShowHeader="false" OnNodeCommand="trLeftMenu_NodeCommand">
                        </ext:Tree>
                    </Items>
                </ext:Region>
                <ext:Region ID="rPageMain" runat="server" Position="Center" ShowHeader="false" EnableIFrame="true" Layout="fit"
                    IFrameUrl="" Title="管理首页">
                    <Items>
                        <ext:TabStrip ID="tabMainStrip" EnableTabCloseMenu="true" ActiveTabIndex="0" ShowBorder="false"
                            runat="server" AutoScroll="true">
                            <Tabs>
                                <ext:Tab ID="tabIndex" runat="server" Icon="house" Title="首页" EnableClose="false"
                                    Layout="fit">
                                </ext:Tab>
                            </Tabs>
                        </ext:TabStrip>
                    </Items>
                </ext:Region>
            </Regions>
        </ext:RegionPanel>
        <ext:Window ID="winChangePwd" runat="server" Title="修改登录密码" Width="360" Hidden="true" EnableCollapse="true" CloseAction="HidePostBack" OnClose="winMenu_Close">
            <Items>
                <ext:SimpleForm ID="sfFrom" runat="server" ShowBorder="false" BodyPadding="10px"
                    LabelWidth="80px" EnableBackgroundColor="true" ShowHeader="false" LabelAlign="right">
                    <Items>
                        <ext:TextBox ID="txtOldPwd" runat="server" TextMode="password" Required="true" Label="旧密码">
                        </ext:TextBox>
                        <ext:TextBox ID="txtNewPwd" runat="server" TextMode="password" Required="true" Label="新密码">
                        </ext:TextBox>
                        <ext:TextBox ID="txtReNewPwd" runat="server" TextMode="password" CompareControl="txtNewPwd"
                            Required="true" Label="确认新密码">
                        </ext:TextBox>
                    </Items>
                    <Toolbars>
                        <ext:Toolbar ID="tbChangePwd" runat="server" Position="footer">
                            <Items>
                                <ext:Button ID="btnChangePwd1" runat="server" Text="确定修改" ConfirmText="确定修改？" ConfirmIcon="question"
                                    ValidateForms="sfFrom" ValidateTarget="top" OnClick="btnChangePwd1_Click">
                                </ext:Button>
                            </Items>
                        </ext:Toolbar>
                    </Toolbars>
                </ext:SimpleForm>
            </Items>
        </ext:Window>
    </form>
</body>
</html>
